<?php

namespace Crm\Controller;

/**
 * 测试控制器
 *
 * @author SoChishun <14507247@qq.com>
 * @version 1.0
 * @since 1.0.0 <2015-3-27> SoChishun Added.
 */
class TestController extends AppbaseController {

    /**
     * 设置用户页面访问权限
     * @since 1.0 <2015-3-27> SoChishun Added.
     */
    public function assert_upr($rule = '') {
        
    }

    /**
     * index操作
     * @since 1.0.0 <2015-3-27> SoChishun Added.
     */
    public function index() {
        layout(false);
        $this->display();
    }

    public function form() {
        layout(false);
        $this->display();
    }

    public function form_save() {
        Layout(false);
        $info = sofn_file_upload(array('skipEmpty'=>true,'savePath'=>''),'');
        var_export($info);
    }

}
